package com.example.springsecurity.security.rbac;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: xieyonghui
 * @Date: 2019/7/10
 * @Description:
 */
public interface RbacService {
    boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
